package com.dykj.fireFighting.api.socialUnit.unitShift.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Time;
import java.util.Date;


/**
 * @Description 
 * @Author zhouchunfu
 * @Date  2021-08-16 09:06:51
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "")
@TableName("unit_shift")
public class UnitShift extends Model<UnitShift> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	@TableField("create_by")
	private String createBy;
	@TableField("create_time")
	private Date createTime;
	@TableField("update_by")
	private String updateBy;
	@TableField("update_time")
	private Date updateTime;
	/**
	 * 删除标识 0已删除 1未删除
	 */
    @ApiModelProperty(value = "删除标识 0已删除 1未删除")
	@TableField("is_del")
	private Integer isDel;
	private String name;
	/**
	 * 开始时间
	 */
    @ApiModelProperty(value = "开始时间")
	@TableField("begin_time")
	//@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",timezone="GMT8")
	private String beginTime;
	/**
	 * 结束时间
	 */
    @ApiModelProperty(value = "结束时间")
	@TableField("end_time")
	//@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",timezone="GMT8")
	private String endTime;
	/**
	 * 单位id
	 */
    @ApiModelProperty(value = "单位id")
	@TableField("unit_id")
	private String unitId;

}
